package o2o.dao.PO.shop;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * create by yangtk
 * time: 2018/10/30
 */
@Data
@Accessors(chain = true)
public class ShopBannerInfo implements Serializable {

    private Long id;
    private int type;            //广告类型  （1：首页顶部轮播图，2：首页中间轮播图）      11 团购
    private String sysAppKey;    //系统标志
    private String imageUrl;    //广告图片地址
    private String videoUrl;    // 视频播放地址
    private String descs;        //广告描述
    private int isLink = 0;        //是否有超链接
    private String link;        //链接地址或ID
    private int linkType = AdvertLinkType.LINK_WEB;            //链接类型   1网址，2链接店铺，3链接行业; 5商品
    private String orderNo;//排序编号
    private Long shopId; // 店铺id
    private Long categoryId = 0L; // 商品分类id
    private int delFlag;//是否已删除
    private Long createTime;        //创建时间
    private String createUser;    //创建者
    private String updateUser;    //最后更新着

    private String extra1;    //备用字段1
    private String extra2;    //备用字段2
    private String extra3;    //备用字段3

    public Long getCategoryId() {
        return categoryId;
    }

    public ShopBannerInfo setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
        return this;
    }

    public Long getId() {
        return id;
    }

    public int getType() {
        return type;
    }

    public String getSysAppKey() {
        return sysAppKey;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public String getDescs() {
        return descs;
    }

    public int getIsLink() {
        return isLink;
    }

    public String getLink() {
        return link;
    }

    public int getLinkType() {
        return linkType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public Long getShopId() {
        return shopId;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public String getExtra1() {
        return extra1;
    }

    public String getExtra2() {
        return extra2;
    }

    public String getExtra3() {
        return extra3;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setSysAppKey(String sysAppKey) {
        this.sysAppKey = sysAppKey;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public void setDescs(String descs) {
        this.descs = descs;
    }

    public void setIsLink(int isLink) {
        this.isLink = isLink;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public void setLinkType(int linkType) {
        this.linkType = linkType;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public void setExtra1(String extra1) {
        this.extra1 = extra1;
    }

    public void setExtra2(String extra2) {
        this.extra2 = extra2;
    }

    public void setExtra3(String extra3) {
        this.extra3 = extra3;
    }
}